<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%String actionUrl = request.getContextPath() + "/DispatchAction.do";%>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
<style type="text/css"> 
.ef-layout-vertical-middle:before {
     float:left;
} </style>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCP60" method="POST" action="<%=actionUrl%>"> 
		<EF:EFInput type="hidden" ename="fdProfessionalplanId" cname="专业计划ID"/>
		<EF:EFInput type="hidden" ename="fdPlanYear" cname="年份"/>
		<EF:EFInput type="hidden" ename="fdPlanMonth" cname="月份"/>
		<EF:EFInput type="hidden" ename="fdCreator" cname="编制人名称"/>
		<EF:EFInput type="hidden" ename="fdCreateDepartment" cname="编制部门名称"/>
		
		<div id = "ef_region_inqu" title="查询条件" efRegionShowClear=true efRegionSave=true>
			<div class="row-fluid"> 
				<div class="span4"><EF:EFInput cname="计划名称：" blockId="inqu_status" ename="fdTitle" row="0" etc=" style='width:133px;'"/></div> 
				<div class="span4">
				    <EF:EFSelect blockId="inqu_status" row="0" ename="fdPlanStatus" cname="计划状态：" etc=" style='width:133px;'">
						<EF:EFOptions blockId="cmes.cp.planStatus" labelColumn="display" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div> 
				<div class="span4"><EF:EFInput cname="计划年份：" blockId="inqu_status" ename="fdPlanYear" row="0" etc=" style='width:133px;'"/></div>  
			</div>
			<div class="row-fluid">
				
				<div class="span4">
				    <EF:EFSelect blockId="inqu_status" row="0" ename="fdPlanMonth" cname="计划月份：" etc=" style='width:133px;'">
						<EF:EFOptions blockId="cmes.cp.planMonth" labelColumn="display" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div> 
			</div>
		</div> 
		<div id="ef_region_result" title="记录集" style="overflow: scroll">
			<div id="ef_grid_r" title="页面信息" style="overflow: hidden; height: 320px;"></div>
		</div>
		<div id = "ef_region_detail" title="计划明细信息" > 
			<div id = "ef_grid_d" title="页面信息" style="height:320px;"></div>
		</div>
		<EF:EFRegion />  
        <EF:EFGrid blockId="result" paintId="ef_grid_r" serviceName="ZMCP60" queryMethod="query" autoDraw="no" readonly="false"   ajax="true" style="operationBar:true">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"/>
			<EF:EFColumn ename="fdPlanStatus" cname="计划状态" enable="false" align="center"/>
		    <EF:EFColumn ename="fdPlanYear" cname="*计划年份" align="center" width="80" validateRegex="/^[1-9][0-9]{3}$/" validateErrorPrompt="输入4位数字的年份" nullable="false"/>
			<EF:EFComboColumn ename="fdPlanMonth" cname="*计划月份" align="center" width="60" nullable="false" blockName="cmes.cp.planMonth" labelProperty="display" valueProperty="value" />
			<EF:EFColumn ename="fdPlanType" cname="*计划类型" align="center" enable="false" validateRegex="/^.+$/" validateErrorPrompt="不能为空" nullable="false" />
			<EF:EFColumn ename="fdTitle" cname="*计划名称" align="center" width="150" validateRegex="/^\S{1,50}$/" validateErrorPrompt="输入1~50个字符，不能输入空格" nullable="false"/>
			<EF:EFColumn ename="fdCreator" cname="*编制人" align="center" width="80"  enable="false"/>
			<EF:EFColumn ename="fdCreateDepartment" cname="*编制部门" align="center" width="100"  enable="false"/>
			<EF:EFColumn ename="fdCreateDate" cname="*编制日期" editType="date" dateFormat="yyyy-MM-dd" align="center" width="100" nullable="false" />
			<EF:EFColumn ename="fdAuditor" cname="*审批人" align="center" width="100" validateRegex="/^.{1,10}$/" validateErrorPrompt="输入1~10个字符" nullable="false"/>        
        </EF:EFGrid>
        
        <EF:EFGrid blockId="result" paintId="ef_grid_d" serviceName="ZMCP61" queryMethod="query" readonly="false" autoDraw="no" ajax="true" style ="operationBar:true;">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false" />
			<EF:EFColumn ename="fdProfessionalplanId" cname="专业计划ID" align="center" width="80" visible="false"/>  
			<EF:EFColumn ename="fdProduceplanId" cname="生产计划ID" align="center" width="100" visible="false"/>
			<EF:EFColumn ename="fdPlanYear" cname="计划年份" align="center" width="80" visible="false"/>  
			<EF:EFColumn ename="fdPlanMonth" cname="计划月份 " align="center" width="80" visible="false"/>  
			<EF:EFColumn ename="fdCreateDepartment" cname="编制部门" align="center" width="80" visible="false"/>  
			<EF:EFColumn ename="fdZyType" cname="*专业" align="center" width="150" nullable="false"/>
			<EF:EFComboColumn ename="fdZgdepartmentId" cname="*主管科室" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" nullable="false"/>
			<EF:EFComboColumn ename="fdDepartmentId" cname="*责任部门" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" nullable="false"/>
			<EF:EFColumn ename="fdDbjh" cname="*达标计划" align="center" width="100" nullable="false" />
			<EF:EFColumn ename="fdZxzzxm" cname="*专项整治项目" align="center" width="800" nullable="false" editType="textarea"/>   
		</EF:EFGrid>
	</EF:EFForm> 
</EF:EFBody> 
</html>